/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

package com.pig4cloud.pigx.ruralLibrary.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 图书大类
 *
 * @author pig
 * @date 2023-09-25 11:09:20
 */
@Data
@TableName("book_data_type")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "图书大类")
public class BookDataTypeEntity extends Model<BookDataTypeEntity> {

    private static final long serialVersionUID = 1L;


	/**
	* 主键id
	*/
    @Schema(description="主键id")
    private Long id;

	/**
	* 资源类型
	*/
    @Schema(description="资源类型")
    private String dataType;

	/**
	* 资源使用状态：0：禁用，1：使用
	*/
    @Schema(description="资源使用状态：0：禁用，1：使用")
    private String dataTypeStatus;

	/**
	* 资源类型英文
	*/
    @Schema(description="资源类型英文")
    private String dataTypeName;

	/**
	* 创建人
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建人")
    private String createBy;

	/**
	* 创建时间
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建时间")
    private LocalDateTime createTime;

	/**
	* 修改人
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="修改人")
    private String updateBy;

	/**
	* 修改时间
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="修改时间")
    private LocalDateTime updateTime;


}
